﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace robot
{
    class Field
    {
        public void DrawField()
        {
            int x = 20;
            int y = 20;

            int counterY = 0;


            for (int j = 0; j < 2; j++)
            {
                for (int i = 0; i < x; i++)
                {
                    Console.Write("* ");
                }
                Console.WriteLine();


                while (counterY != 20)
                {
                    for (int i = 0; i < y; i++)
                    {
                        if (i == 0 || i == 19)
                        {
                            Console.Write("* ");
                        }
                        else
                        {
                            Console.Write("  ");
                        }
                    }
                    Console.WriteLine();
                    counterY++;
                }
            }
        }
    }
}
